#ifndef M_MANUAL_H
#define M_MANUAL_H
#include "tkc/emitter.h"
/**
 * @class m_manual_t
 * @parent emitter_t
 * 
 * @annotation ["model"]
 * model for home_page
 * 
 */
typedef struct {
    emitter_t emitter;

     /**
     * @property {int32_t} page_num
     * @annotation ["readable", "writable"]
     * page num
     */
    int32_t page_num;

    /**
     * @property {int} value
     * @annotation ["readable", "writable"]
     * value
     */
    int value;
} m_manual_t;


/**
 * @method m_manual_create
 * m_manual_create
 * @annotation ["constructor"]
 * @return {m_manual_t*} return m_manual_t
 */
m_manual_t* m_manual_create(void);

/**
 * @method m_manual_destroy
 * m_manual_destroy
 * @annotation ["destructor"]
 * @param {m_manual_t*} home
 * @return {ret_t} RET_OK -> success, others -> failed
 */
ret_t m_manual_destroy(m_manual_t* home);





/**
 * @method m_manual_to_settings
 * to setting page
 * @annotation ["command:to_settings"]
 * @param {m_manual_t *} home
 * @return {ret_t} RET_OK -> success, others -> failed
 */
ret_t m_manual_to_settings(m_manual_t *home);

#endif 